home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib7 / v_09_06 / 9n06052b < prev    next >
Encoding:
Text File  |  1995-11-01  |  411 b   |  14 lines

  1. #include "thing.hpp"
  2.  
  3. //  Thing.cpp - 2/27/91  --  Michael Kelly - Author
  4. //
  5. //    See Thing.hpp for definition of class Thing 
  6. //
  7. //  Assigning one Thing to another is a "shallow copy"
  8. //  so TheNullThing is used to "zero out" temporay
  9. //  variables that are in the Thing domain.  This
  10. //  way two different destructors do not try to
  11. //  release the same dynamic memory.
  12. //
  13. const Thing TheNullThing;
  14.